package com.woniuxy.commons.exception;

public enum EnumExceptionCode {
    Fail_Upload(5001,"请上传图片");
    private Integer code;
    private String message;

    private EnumExceptionCode(Integer code, String message){
            this.code=code;
            this.message=message;
    }

    private EnumExceptionCode(EnumExceptionCode e){

        this.code=e.getCode();
        this.message=e.message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }



}
